<?php

/**
 * 
 * @package php.net 
 */


class URL { 
	public static function getUrl($host, array $data = array()) { 
		$data = http_build_query($data);
		return implode("?", array($host, $data));
	}
}


?>